import { uniFetch } from '../../apis/uni-fetch'
 
export const getCaptcha = () => {   // 获取验证码
  return uniFetch({
    url: '/driver/register/captcha',
  })
}

export const getLogin = (data) => {   // 登录请求
  return uniFetch({
    method: 'POST',
    url: '/driver/login/account',
    data
  })
}